﻿@{
    Layout = "~/Views/Shared/_LayoutPartial.cshtml";
    ViewBag.ImageUrl = "~/Content/Images/mail_lock.png";
    ViewBag.Title = Html.Global("RES_RECEIVEPWD");
}
@using (Html.BeginForm())
{ 
    <div style="padding: 20px;">
        <table cellpadding="5px;" cellspacing="5px">
            @if (ViewData["Summary"] != null)
            { 
                <tr>
                    <td colspan="2">
                        <div class="ui-state-error" style="padding:10px;">
                            @ViewData["Summary"]
                        </div>
                    </td>
                </tr>
            }
            <tr>
                <td colspan="2">
                    @Html.Global("RES_RECEIVETIP")
                </td>
            </tr>
            <tr>
                <td>
                    <label for="UserName">
                        @Html.Global("RES_USER_NAME"):</label>
                </td>
                <td>
                    @{ Ajax.Dna().TextBox("UserName")
                               .IconImageUrl(Url.Content("~/content/images/icon_contact_16.gif"))
                               .Render();
                    }
                </td>
            </tr>

            <tr><td>- @Html.Global("RES_OR") -</td></tr>
            <tr>
                <td>
                    <label for="UserName">
                        @Html.Global("RES_EMAIL"):</label>
                </td>
                <td>
                    @{ Ajax.Dna().TextBox("Email")
                               .IconImageUrl(Url.Content("~/content/images/icon_mail_16.png"))
                               .Render();
                    }
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    @Ajax.Submit(Html.Global("RES_SEND"), "ui-icon ui-icon-mail")
                </td>
            </tr>
        </table>
    </div>
}
